<template>
  <el-dialog title="asd" ref="formEl"> </el-dialog>
  <Cp :formEl="formEl"></Cp>
</template>

<script setup>
import { ref } from "vue";

import Cp from "./component.vue";
// 无法进行传递，子组件是接受不到父组件对其他组件的Ref的
const formEl = ref();
</script>

<style lang="scss"></style>
